<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>Faiss: faiss::RandomRotationMatrix Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Faiss
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacefaiss.html">faiss</a></li><li class="navelem"><a class="el" href="structfaiss_1_1RandomRotationMatrix.html">RandomRotationMatrix</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="structfaiss_1_1RandomRotationMatrix-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">faiss::RandomRotationMatrix Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Randomly rotate a set of vectors.  
 <a href="structfaiss_1_1RandomRotationMatrix.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="VectorTransform_8h_source.html">VectorTransform.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for faiss::RandomRotationMatrix:</div>
<div class="dyncontent">
 <div class="center">
  <img src="structfaiss_1_1RandomRotationMatrix.png" usemap="#faiss::RandomRotationMatrix_map" alt=""/>
  <map id="faiss::RandomRotationMatrix_map" name="faiss::RandomRotationMatrix_map">
<area href="structfaiss_1_1LinearTransform.html" alt="faiss::LinearTransform" shape="rect" coords="0,56,169,80"/>
<area href="structfaiss_1_1VectorTransform.html" alt="faiss::VectorTransform" shape="rect" coords="0,0,169,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a64e406c8f73c7692bcf7d97b27305fc6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a64e406c8f73c7692bcf7d97b27305fc6"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfaiss_1_1RandomRotationMatrix.html#a64e406c8f73c7692bcf7d97b27305fc6">RandomRotationMatrix</a> (int d_in, int <a class="el" href="structfaiss_1_1VectorTransform.html#a589d612f7b1773614619a0cbecd728a9">d_out</a>)</td></tr>
<tr class="memdesc:a64e406c8f73c7692bcf7d97b27305fc6"><td class="mdescLeft">&#160;</td><td class="mdescRight">both d_in &gt; d_out and d_out &lt; d_in are supported <br/></td></tr>
<tr class="separator:a64e406c8f73c7692bcf7d97b27305fc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a857ad8c32fb76b3298d4eea4338ff66f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a857ad8c32fb76b3298d4eea4338ff66f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfaiss_1_1RandomRotationMatrix.html#a857ad8c32fb76b3298d4eea4338ff66f">init</a> (int seed)</td></tr>
<tr class="memdesc:a857ad8c32fb76b3298d4eea4338ff66f"><td class="mdescLeft">&#160;</td><td class="mdescRight">must be called before the transform is used <br/></td></tr>
<tr class="separator:a857ad8c32fb76b3298d4eea4338ff66f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ae68bbd58cf20debb00636cb1b9c490"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfaiss_1_1RandomRotationMatrix.html#a5ae68bbd58cf20debb00636cb1b9c490">train</a> (<a class="el" href="structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea">Index::idx_t</a> n, const float *x) override</td></tr>
<tr class="separator:a5ae68bbd58cf20debb00636cb1b9c490"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_structfaiss_1_1LinearTransform"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_structfaiss_1_1LinearTransform')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="structfaiss_1_1LinearTransform.html">faiss::LinearTransform</a></td></tr>
<tr class="memitem:a2fffd6064defb7c3fdaf143c0c4a9bc7 inherit pub_methods_structfaiss_1_1LinearTransform"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2fffd6064defb7c3fdaf143c0c4a9bc7"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfaiss_1_1LinearTransform.html#a2fffd6064defb7c3fdaf143c0c4a9bc7">LinearTransform</a> (int d_in=0, int <a class="el" href="structfaiss_1_1VectorTransform.html#a589d612f7b1773614619a0cbecd728a9">d_out</a>=0, bool have_bias=false)</td></tr>
<tr class="memdesc:a2fffd6064defb7c3fdaf143c0c4a9bc7 inherit pub_methods_structfaiss_1_1LinearTransform"><td class="mdescLeft">&#160;</td><td class="mdescRight">both d_in &gt; d_out and d_out &lt; d_in are supported <br/></td></tr>
<tr class="separator:a2fffd6064defb7c3fdaf143c0c4a9bc7 inherit pub_methods_structfaiss_1_1LinearTransform"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9c20b4ae67691b5713489884ca9f80f inherit pub_methods_structfaiss_1_1LinearTransform"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af9c20b4ae67691b5713489884ca9f80f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfaiss_1_1LinearTransform.html#af9c20b4ae67691b5713489884ca9f80f">apply_noalloc</a> (idx_t n, const float *x, float *xt) const override</td></tr>
<tr class="memdesc:af9c20b4ae67691b5713489884ca9f80f inherit pub_methods_structfaiss_1_1LinearTransform"><td class="mdescLeft">&#160;</td><td class="mdescRight">same as apply, but result is pre-allocated <br/></td></tr>
<tr class="separator:af9c20b4ae67691b5713489884ca9f80f inherit pub_methods_structfaiss_1_1LinearTransform"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1642efca4f5eb524c29722b0441c4d13 inherit pub_methods_structfaiss_1_1LinearTransform"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfaiss_1_1LinearTransform.html#a1642efca4f5eb524c29722b0441c4d13">transform_transpose</a> (idx_t n, const float *y, float *x) const </td></tr>
<tr class="separator:a1642efca4f5eb524c29722b0441c4d13 inherit pub_methods_structfaiss_1_1LinearTransform"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a078caa663cf329de13851ebb026fb5d5 inherit pub_methods_structfaiss_1_1LinearTransform"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a078caa663cf329de13851ebb026fb5d5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfaiss_1_1LinearTransform.html#a078caa663cf329de13851ebb026fb5d5">reverse_transform</a> (idx_t n, const float *xt, float *x) const override</td></tr>
<tr class="memdesc:a078caa663cf329de13851ebb026fb5d5 inherit pub_methods_structfaiss_1_1LinearTransform"><td class="mdescLeft">&#160;</td><td class="mdescRight">works only if is_orthonormal <br/></td></tr>
<tr class="separator:a078caa663cf329de13851ebb026fb5d5 inherit pub_methods_structfaiss_1_1LinearTransform"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca77897ef5c27c69374b4d9555e5b332 inherit pub_methods_structfaiss_1_1LinearTransform"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aca77897ef5c27c69374b4d9555e5b332"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfaiss_1_1LinearTransform.html#aca77897ef5c27c69374b4d9555e5b332">set_is_orthonormal</a> ()</td></tr>
<tr class="memdesc:aca77897ef5c27c69374b4d9555e5b332 inherit pub_methods_structfaiss_1_1LinearTransform"><td class="mdescLeft">&#160;</td><td class="mdescRight">compute A^T * A to set the is_orthonormal flag <br/></td></tr>
<tr class="separator:aca77897ef5c27c69374b4d9555e5b332 inherit pub_methods_structfaiss_1_1LinearTransform"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_structfaiss_1_1VectorTransform"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_structfaiss_1_1VectorTransform')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="structfaiss_1_1VectorTransform.html">faiss::VectorTransform</a></td></tr>
<tr class="memitem:a137f48bab695736f0b1d79a50cddc858 inherit pub_methods_structfaiss_1_1VectorTransform"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a137f48bab695736f0b1d79a50cddc858"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfaiss_1_1VectorTransform.html#a137f48bab695736f0b1d79a50cddc858">VectorTransform</a> (int d_in=0, int <a class="el" href="structfaiss_1_1VectorTransform.html#a589d612f7b1773614619a0cbecd728a9">d_out</a>=0)</td></tr>
<tr class="memdesc:a137f48bab695736f0b1d79a50cddc858 inherit pub_methods_structfaiss_1_1VectorTransform"><td class="mdescLeft">&#160;</td><td class="mdescRight">! output dimension <br/></td></tr>
<tr class="separator:a137f48bab695736f0b1d79a50cddc858 inherit pub_methods_structfaiss_1_1VectorTransform"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3b3a8bf95911f4b28128001c83f91a5 inherit pub_methods_structfaiss_1_1VectorTransform"><td class="memItemLeft" align="right" valign="top">float *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfaiss_1_1VectorTransform.html#af3b3a8bf95911f4b28128001c83f91a5">apply</a> (idx_t n, const float *x) const </td></tr>
<tr class="separator:af3b3a8bf95911f4b28128001c83f91a5 inherit pub_methods_structfaiss_1_1VectorTransform"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_structfaiss_1_1VectorTransform"><td colspan="2" onclick="javascript:toggleInherit('pub_types_structfaiss_1_1VectorTransform')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="structfaiss_1_1VectorTransform.html">faiss::VectorTransform</a></td></tr>
<tr class="memitem:a410516b4efdae041546d87f6bef2e422 inherit pub_types_structfaiss_1_1VectorTransform"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a410516b4efdae041546d87f6bef2e422"></a>
typedef <a class="el" href="structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea">Index::idx_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>idx_t</b></td></tr>
<tr class="separator:a410516b4efdae041546d87f6bef2e422 inherit pub_types_structfaiss_1_1VectorTransform"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_structfaiss_1_1LinearTransform"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_structfaiss_1_1LinearTransform')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="structfaiss_1_1LinearTransform.html">faiss::LinearTransform</a></td></tr>
<tr class="memitem:a322401ba80cb96ac1e7846401f2bef24 inherit pub_attribs_structfaiss_1_1LinearTransform"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a322401ba80cb96ac1e7846401f2bef24"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>have_bias</b></td></tr>
<tr class="separator:a322401ba80cb96ac1e7846401f2bef24 inherit pub_attribs_structfaiss_1_1LinearTransform"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a67a0178eab513cf87545f5d12d9569 inherit pub_attribs_structfaiss_1_1LinearTransform"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfaiss_1_1LinearTransform.html#a8a67a0178eab513cf87545f5d12d9569">is_orthonormal</a></td></tr>
<tr class="memdesc:a8a67a0178eab513cf87545f5d12d9569 inherit pub_attribs_structfaiss_1_1LinearTransform"><td class="mdescLeft">&#160;</td><td class="mdescRight">! whether to use the bias term  <a href="#a8a67a0178eab513cf87545f5d12d9569">More...</a><br/></td></tr>
<tr class="separator:a8a67a0178eab513cf87545f5d12d9569 inherit pub_attribs_structfaiss_1_1LinearTransform"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa40e156ef57fe206cd5f3a58ec0660da inherit pub_attribs_structfaiss_1_1LinearTransform"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa40e156ef57fe206cd5f3a58ec0660da"></a>
std::vector&lt; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfaiss_1_1LinearTransform.html#aa40e156ef57fe206cd5f3a58ec0660da">A</a></td></tr>
<tr class="memdesc:aa40e156ef57fe206cd5f3a58ec0660da inherit pub_attribs_structfaiss_1_1LinearTransform"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transformation matrix, size d_out * d_in. <br/></td></tr>
<tr class="separator:aa40e156ef57fe206cd5f3a58ec0660da inherit pub_attribs_structfaiss_1_1LinearTransform"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0383f690aeb823876e9143febad1a87 inherit pub_attribs_structfaiss_1_1LinearTransform"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab0383f690aeb823876e9143febad1a87"></a>
std::vector&lt; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfaiss_1_1LinearTransform.html#ab0383f690aeb823876e9143febad1a87">b</a></td></tr>
<tr class="memdesc:ab0383f690aeb823876e9143febad1a87 inherit pub_attribs_structfaiss_1_1LinearTransform"><td class="mdescLeft">&#160;</td><td class="mdescRight">bias vector, size d_out <br/></td></tr>
<tr class="separator:ab0383f690aeb823876e9143febad1a87 inherit pub_attribs_structfaiss_1_1LinearTransform"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae351ccd1155b71ac9d2fbd8d11b7082a inherit pub_attribs_structfaiss_1_1LinearTransform"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae351ccd1155b71ac9d2fbd8d11b7082a"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>verbose</b></td></tr>
<tr class="separator:ae351ccd1155b71ac9d2fbd8d11b7082a inherit pub_attribs_structfaiss_1_1LinearTransform"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_structfaiss_1_1VectorTransform"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_structfaiss_1_1VectorTransform')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="structfaiss_1_1VectorTransform.html">faiss::VectorTransform</a></td></tr>
<tr class="memitem:afdf56cbd261a571cf6b8872be5bd43b6 inherit pub_attribs_structfaiss_1_1VectorTransform"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afdf56cbd261a571cf6b8872be5bd43b6"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>d_in</b></td></tr>
<tr class="separator:afdf56cbd261a571cf6b8872be5bd43b6 inherit pub_attribs_structfaiss_1_1VectorTransform"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a589d612f7b1773614619a0cbecd728a9 inherit pub_attribs_structfaiss_1_1VectorTransform"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a589d612f7b1773614619a0cbecd728a9"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfaiss_1_1VectorTransform.html#a589d612f7b1773614619a0cbecd728a9">d_out</a></td></tr>
<tr class="memdesc:a589d612f7b1773614619a0cbecd728a9 inherit pub_attribs_structfaiss_1_1VectorTransform"><td class="mdescLeft">&#160;</td><td class="mdescRight">! input dimension <br/></td></tr>
<tr class="separator:a589d612f7b1773614619a0cbecd728a9 inherit pub_attribs_structfaiss_1_1VectorTransform"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab511f1ddf608c00204555881ca28cb02 inherit pub_attribs_structfaiss_1_1VectorTransform"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfaiss_1_1VectorTransform.html#ab511f1ddf608c00204555881ca28cb02">is_trained</a></td></tr>
<tr class="separator:ab511f1ddf608c00204555881ca28cb02 inherit pub_attribs_structfaiss_1_1VectorTransform"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Randomly rotate a set of vectors. </p>

<p>Definition at line <a class="el" href="VectorTransform_8h_source.html#l00115">115</a> of file <a class="el" href="VectorTransform_8h_source.html">VectorTransform.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a5ae68bbd58cf20debb00636cb1b9c490"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void RandomRotationMatrix::train </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structfaiss_1_1Index.html#ad3f0d3071f987baabbdd3da4500c87ea">Index::idx_t</a>&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float *&#160;</td>
          <td class="paramname"><em>x</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Perform training on a representative set of vectors. Does nothing by default.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td>nb of training vectors </td></tr>
    <tr><td class="paramname">x</td><td>training vecors, size n * d </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="structfaiss_1_1VectorTransform.html#a7350d4dd28d60866d55ba4f75d2da84c">faiss::VectorTransform</a>.</p>

<p>Definition at line <a class="el" href="VectorTransform_8cpp_source.html#l00242">242</a> of file <a class="el" href="VectorTransform_8cpp_source.html">VectorTransform.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following files:<ul>
<li>/data/users/hoss/faiss/<a class="el" href="VectorTransform_8h_source.html">VectorTransform.h</a></li>
<li>/data/users/hoss/faiss/<a class="el" href="VectorTransform_8cpp_source.html">VectorTransform.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>
